#include "CParser.h"
#include <iostream>

int main(int argc, char *argv[])
{
	CParser *C;
	C = new CParser;

	C->Input(argv[1]);
	C->Start(argv, argc);

	char name[] = "result.txt";
	C->Output(name);
/*
	double *errS = new double [2];
	double *errM = new double [2];
	errS[0] = errM[0] = 0.008;
	errS[1] = errM[1] = 0.1;
	double Lguard = 0.8;
	char name[] = "iccap1.txt";

	while(errS[0] < 0.01)
	{
		C = new CParser;
		C->Input(argv[1]);
		C->Start(Lguard, errM, errS);
		C->Output(name);
		name[5]++;
		errS[0] = errM[0] += 0.001;
	}

	delete errS, errM;
	delete C;*/
	return 0;
}





